package com.kaili.basic.service.impl;

import com.kaili.basic.mapper.MdmAlarmSubMapper;
import com.kaili.basic.pojo.entity.MdmAlarmSubEntity;
import com.kaili.basic.service.MdmAlarmSubService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MdmAlarmSubServiceImpl implements MdmAlarmSubService {

    @Autowired
    private MdmAlarmSubMapper alarmSubMapper;

    /**
    * @Desc:  新增订阅
    * @author: jianfeng
    * @Time: 2019/7/29 14:04
    * @param alarmSubEntity
    * @return int
    */
    @Override
    public int addMdmAlarmSub(MdmAlarmSubEntity alarmSubEntity) {
        return alarmSubMapper.addMdmAlarmSub(alarmSubEntity);
    }
}
